<div class="sign-up">
  <div class="card">
    <div class="card-body">
      <h2>Send me a message</h2>
      <br>
      <%= form_for @message, url: message_path do |f| %>
        <div class="form-group">
          <%= f.text_field :name, autofocus: true, class: "form-control", placeholder: "Name" %>
        </div>

        <div class="form-group">
          <%= f.email_field :email, autocomplete: "off", class: "form-control", placeholder: "Email" %>
        </div>

        <div class="form-group">
          <%= f.text_area :message, class: "form-control", placeholder: "How can I help?", rows: 6 %>
        </div>

        <div class="actions">
          <%= f.submit "Send Message", class: "btn btn-dark btn-block" %>
        </div>
      <% end %>
    </div>
  </div>
</div>